﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="ThongtinSV.aspx.cs" Inherits="NCKH.ThongtinSV" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function displayngaysinh() {
            var ngaysinh = document.getElementById('ngaysinh');
            ngaysinh.style.display = 'block';
        }
    </script>
    <style type="text/css">
        #ngaysinh {
           display:none;
           position:absolute;
           border:solid 2px black;
           background-color:white;
        }
        .auto-style1 {
            height: 32px;
            width: 131px;
        }
        .auto-style3 {
            height: 32px;
            width: 237px;
        }
        .auto-style4 {
            height: 49px;
        }
        .auto-style5 {
            width: 237px;
            height: 49px;
        }
        .auto-style6 {
            height: 42px;
        }
        .auto-style7 {
            width: 237px;
            height: 42px;
        }
        .auto-style8 {
            height: 40px;
        }
        .auto-style9 {
            width: 237px;
            height: 40px;
        }
        .auto-style10 {
            height: 50px;
        }
        .auto-style11 {
            width: 237px;
            height: 50px;
        }
        .auto-style12 {
            height: 36px;
        }
        .auto-style13 {
            width: 237px;
            height: 36px;
        }
        .auto-style14 {
            height: 43px;
            width: 131px;
        }
        .auto-style15 {
            height: 43px;
            width: 237px;
        }
        .auto-style16 {
            height: 49px;
            width: 131px;
        }
        .auto-style17 {
            height: 42px;
            width: 131px;
        }
        .auto-style18 {
            height: 40px;
            width: 131px;
        }
        .auto-style19 {
            height: 50px;
            width: 131px;
        }
        .auto-style20 {
            height: 36px;
            width: 131px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 style="text-align:center"> Đăng ký thông tin sinh viên</h2>
    <table style="height: 444px; width: 461px; text-align:left;margin-left:10px" >
        
        <tr>
            
           <td align="left" class="auto-style16">Tên sinh viên</td>
            <td class="auto-style5">
                <asp:TextBox ID="txttensv" runat="server" Height="23px" Width="189px"></asp:TextBox>
            </td>   
            <td class="auto-style4">
                <asp:RequiredFieldValidator runat="server" ID="rfvtensv" ControlToValidate="txttensv" 
                    Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style17">Ngày sinh</td>
            <td class="auto-style7">
                <asp:TextBox ID="txtns" runat="server" Height="23px" Width="189px"></asp:TextBox>
                <div id="ngaysinh"><asp:Calendar ID="cldngaysinh" runat="server" OnSelectionChanged="cldngaysinh_SelectionChanged"></asp:Calendar></div>
                <img src="../Images/lich.png"  onclick="displayngaysinh()"/>
            </td> 
            <td class="auto-style6">
             <asp:RequiredFieldValidator runat="server" ID="rfvns" ControlToValidate="txtns" 
                    Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
           </td> 
        </tr>
        <tr>
            
           <td align="left" class="auto-style16">CMND</td>
            <td class="auto-style5">
                <asp:TextBox ID="txtCMND" runat="server" Height="23px" Width="189px"></asp:TextBox>
            </td>   
            <td class="auto-style4">
                <asp:RequiredFieldValidator runat="server" ID="rfvCMND" ControlToValidate="txtCMND" 
                    Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style18">Địa chỉ</td>
            <td class="auto-style9">
                <asp:TextBox ID="txtdc" runat="server" Height="23px" Width="189px"></asp:TextBox>
            </td>
            <td class="auto-style8">
               <asp:RequiredFieldValidator runat="server" ID="rfvdc" ControlToValidate="txtdc" 
                    Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
              </td> 
        </tr>
        
        <tr>
            <td class="auto-style14">Giới tính</td>
            <td class="auto-style15">
               <asp:RadioButton ID="rbtnnam"  runat="server" GroupName="radio" Checked="true" />Nam
                   <asp:RadioButton ID="rbtnnu" runat="server" GroupName="radio" />Nữ
                </td>  
            
        </tr>
        <tr>
            <td class="auto-style21" >Email</td>
            <td class="auto-style21"><asp:TextBox ID="txtEmail" runat="server" Height="23px" Width="189px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="auto-style22">Số điện thoại</td>
            <td class="auto-style22"><asp:TextBox ID="txtSDT" runat="server" Height="23px" Width="189px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="auto-style1">Tên đơn vị</td>
            <td class="auto-style3">
               <asp:DropDownList runat="server" ID="ddrmadv"></asp:DropDownList>
          </td> 
           
        </tr>
    <tr>
        <td class="auto-style17"></td>
        <td class="auto-style7">
            <asp:Button ID="btngui" runat="server" Text="Gửi" OnClick="btngui_Click" Width="79px" Height="29px" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnboqua" runat="server" Text="Bỏ qua" OnClick="btnboqua_Click" Width="70px" Height="29px" />

        </td>
    </tr>
    </table>
</asp:Content>
